- 
		Home
	
- 
Speed Optimizer – The All-In-One Performance-Boosting Plugin
- 
7.6.8
- 
Code
- 
Classes
-  File_Cacher 
		
			
				
					
													
								
																			
											| Total Complexity | 118 | 
																			
											| Dependencies | 11 | 
																			
											| Dependents | 12 | 
																	
							 
													
								
																			
											| Total lines | 1,076 | 
																			
											| Lines of code | 490 | 
																			
											| Logical lines of code | 260 | 
																	
							 
													
								
																			
											| Comment lines | 382 | 
																			
											| Methods | 33 | 
																			
											| Properties | 10 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 33
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| is_url_excluded() | A | 54 | 13 | 21 | 
					
				| process() | A | 48 | 11 | 35 | 
					
				| preheat_cache() | A | 48 | 9 | 34 | 
					
				| purge_cache_request() | S | 51 | 7 | 26 | 
					
				| maybe_purge_cache() | S | 53 | 7 | 22 | 
					
				| toggle_file_cache() | S | 48 | 4 | 36 | 
					
				| load_xml() | S | 58 | 5 | 17 | 
					
				| get_excluded_urls_regex() | S | 49 | 4 | 32 | 
					
				| purge_dir_cache() | S | 58 | 5 | 16 | 
					
				| get_cache_path() | S | 58 | 5 | 15 | 
					
				| toggle_cache_constant() | S | 55 | 4 | 19 | 
					
				| schedule_cleanup() | S | 59 | 4 | 15 | 
					
				| clean_cache_dir() | S | 61 | 4 | 13 | 
					
				| maybe_enable_dynamic() | S | 65 | 4 | 11 | 
					
				| create_config() | S | 54 | 3 | 20 | 
					
				| add_htaccess_file() | S | 62 | 3 | 13 | 
					
				| add_advanced_cache() | S | 61 | 3 | 13 | 
					
				| get_intervals() | S | 51 | 1 | 32 | 
					
				| hit_url_cache() | S | 61 | 2 | 13 | 
					
				| get_directory_size() | S | 63 | 2 | 12 | 
					
				| get_instance() | S | 71 | 2 | 6 | 
					
				| get_cache_dir() | S | 64 | 2 | 10 | 
					
				| create_secret_if_not_exists() | S | 69 | 2 | 7 | 
					
				| remove_config() | S | 68 | 2 | 7 | 
					
				| remove_advanced_cache() | S | 71 | 2 | 6 | 
					
				| __construct() | S | 66 | 1 | 8 | 
					
				| set_secret() | S | 79 | 1 | 3 | 
					
				| get_secret() | S | 79 | 1 | 3 | 
					
				| cache_exists() | S | 80 | 1 | 3 | 
					
				| purge_everything() | S | 75 | 1 | 5 | 
					
				| sg_add_cron_interval() | S | 68 | 1 | 7 | 
					
				| refresh_config() | S | 78 | 1 | 4 | 
					
				| cleanup() | S | 71 | 1 | 6 |